using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace imitateMacQQ.WebApi.Repository.EFCore.Model;

[Table("realTimeInfo")]
public class RealTimeInfo
{
    public int Id { get; set; }
    [Required] public string? User1Account { get; set; }
    public DateTime DateTime { get; set; }
    [Required] public bool User2Reader { get; set; }
    [Required] public string? User2Account { get; set; }
    [Required] public string? Text { get; set; }
}